<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
	protected function _initAutoload()
	{
		// Resource Autoloading
		$moduleLoader = new Zend_Application_Module_Autoloader(array(
				'namespace' => '',
				'basePath' => APPLICATION_PATH));
		return $moduleLoader;
	}
	public function _initPlugin()
	{
		$plugin = new Joblib_Authenticate();
		$front = Zend_Controller_Front::getInstance();
		$front->registerPlugin($plugin);   // uncomment to check authentication
	}

}

